#ifndef __STRTOK_CN_H__
#define __STRTOK_CN_H__

#define CODE_ASCII		0
#define CODE_GBK		1
#define CODE_GB18030		2
#define CODE_GB18030_2005	3

#ifdef __cplusplus
extern "C" {
#endif  /* __cplusplus */

unsigned int	__cdecl sizeofcode(unsigned char code);
unsigned char	__cdecl iscn(const unsigned char* sz);
char*		__cdecl strtok_cn(char* string, const char* control);
char*		__cdecl strtok_cn_s(char* string, const char* control, char** context);

#ifdef __cplusplus
}
#endif  /* __cplusplus */

#endif